package com.dundun.SSO.manage.impl;

import com.dundun.SSO.core.impl.BaseServiceImpl;
import com.dundun.SSO.manage.ISsoOrganizationService;
import com.dundun.SSO.manage.dao.SsoOrganizationDao;
import com.dundun.SSO.manage.pojo.SsoOrganization;
import com.dundun.SSO.manage.query.SsoOrganizationQuery;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**********************************************************
 * 版权所有：搜影科技 保留所有权利
 * 创建日期: 2017/5/6 0006 14:09
 * 创建作者: gezhangkai
 * 版    本:
 * 功    能:
 * 最后修改时间:
 * 修改记录:
 ***********************************************************/
@Service
public class SsoOrganizationServiceImpl extends BaseServiceImpl<SsoOrganization> implements ISsoOrganizationService{

    @Autowired
    private SsoOrganizationDao ssoOrganizationDao;

    public List<SsoOrganization> selectByPage(SsoOrganizationQuery ssoOrganizationQuery) {
        return ssoOrganizationDao.selectByPage(ssoOrganizationQuery);
    }

    public Integer selectCountByPage(SsoOrganizationQuery ssoOrganizationQuery) {
        return ssoOrganizationDao.selectCountByPage(ssoOrganizationQuery);
    }
}
